package cn.droidlover.xdroidmvp.base;

import android.content.Context;
import android.support.multidex.MultiDexApplication;


import cn.droidlover.xdroidmvp.kit.CrashHandler;

public class BaseApplication extends MultiDexApplication {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        CrashHandler.getInstance().init(this,this);
    }

    public static Context getContext() {
        return mContext;
    }

}
